﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Data;
using Entities;
namespace Business
{
   public class HoaDonService
    {
       public static int GetCurrentID()
       {
           return HoaDonRepository.GetCurrentID();
       }
       public static void Insert(List<ChiTietHoaDonDTO> list, HoaDonDTO hd)
       {
            HoaDonRepository.InsertHoaDon(list, hd);
       }
       public static bool Exists(int maHoaDon)
       {
           return HoaDonRepository.Exists(maHoaDon);
       }

    }
}
